package com.zpark.merchant.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author RZS
 * @since 2024-04-28
 */
@Getter
@Setter
@TableName("merchant")
@ApiModel(value = "Merchant对象", description = "")
public class Merchant implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("ID")
    private Long id;

    @ApiModelProperty("商户名称")
    @TableField("MERCHANT_NAME")
    private String merchantName;

    @ApiModelProperty("企业编号")
    @TableField("MERCHANT_NO")
    private String merchantNo;

    @ApiModelProperty("企业地址")
    @TableField("MERCHANT_ADDRESS")
    private String merchantAddress;

    @ApiModelProperty("商户类型")
    @TableField("MERCHANT_TYPE")
    private String merchantType;

    @ApiModelProperty("营业执照（企业证明）")
    @TableField("BUSINESS_LICENSES_IMG")
    private String businessLicensesImg;

    @ApiModelProperty("法人身份证正面照片")
    @TableField("ID_CARD_FRONT_IMG")
    private String idCardFrontImg;

    @ApiModelProperty("法人身份证反面照片")
    @TableField("ID_CARD_AFTER_IMG")
    private String idCardAfterImg;

    @ApiModelProperty("联系人姓名")
    @TableField("USERNAME")
    private String username;

    @ApiModelProperty("联系人手机号(关联统一账号)")
    @TableField("MOBILE")
    private String mobile;

    @ApiModelProperty("联系人地址")
    @TableField("CONTACTS_ADDRESS")
    private String contactsAddress;

    @ApiModelProperty("审核状态 0-未申请,1-已申请待审核,2-审核通过,3-审核拒绝")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty("租户ID,关联统一用户")
    @TableField("TENANT_ID")
    private Long tenantId;


}
